



$test-color: #2682eb;

.params-message{
  display: flex;
  align-items: center;
  background: #262626 linear-gradient(50deg, #3d4345, #262626);
  box-shadow: -1px 1px 5px 2px rgba(0, 0, 0, .3);
  padding: 0 10px;
  border-radius: 3px; 
  min-width: 138px;
  height: 25px;
  opacity: 0;
  transition: opacity .2s ease-in, transform .2s ease-in;
  transform: translateX(10px);
  transform-origin: right center;
  
  +.params-pilotlamp{
    margin-left: 10px;
  }

  &-loading{
    flex-shrink: 0;
    margin-right: 8px;
    font-size: 16px;
  }

  &-content{
    &.leave{
      transition: opacity .2s linear, transform .2s linear;
      transform: translateX(-6px);
      opacity: 0;

      &-active{
        transform: translateX(1);
        opacity: 1;
      }
    }

    &.enter{
      transition: opacity .3s ease-in, transform .3s ease-in;
    }

    &.leave-to-enter,
    &.enter-active{
      transform: translateX(8px);
      opacity: 0;
    }

    &.fastflicker{
      animation: fastFlicker .2s 3 linear;
    }
  }

  &.active{
    opacity: 1;
    transform: translateX(0);
  }
}

.params-field{
  background-color: #141414;
  border-radius: 3px;
  padding: 3px 8px;

  &+&{
    margin-left: 8px;
  }
}


@keyframes fastFlicker {
  50%{
    color: #fff;
  }
}